package com.lyb.mapper;

import com.lyb.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User login(String username);

    int register(User user);

    int updateUser(User user);

    User getUser(Integer id);
}
